import {createApp} from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import locale from 'element-plus/lib/locale/lang/zh-cn' //中文
import App from './App.vue'
import {router} from './route'
import axios from 'axios'
import VueAxios from 'vue-axios'
import store from "./store/index.js";

const app = createApp(App)
axios.defaults.baseURL = '/api'
app.use(VueAxios, axios)
app.use(ElementPlus, {locale})
app.use(store);
app.use(router).mount('#app')

